import http from './index'

export const getList = (params) => http({
  url: '/device-os/mail/list',
  method: 'GET',
  params,
})
export const getMailConfig = () => http({
  url: '/device-os/mail/getMailConfig',
  method: 'GET',
})

export const create = (data) => http({
  url: '/device-os/mail/update',
  method: 'POST',
  data,
})
